<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <h3>支付</h3>
    <form action="{:url('pay')}" method="post">
        <div>
            <label for="payer">付款人</label>
            <input type="text" name="payer" id="payer">
        </div>
        <div>
            <label for="payee">收款人</label>
            <input type="text" name="payee" id="payee">
        </div>
        <div>
            <label for="amount">金额</label>
            <input type="text" name="amount" id="amount">
        </div>
        <div>
            <label for="way">方式</label>
            <select name="way" id="way">
                <option value="alipay">支付宝</option>
            </select>
        </div>
        <button>提交</button>
    </form>

    <h3>支付成功</h3>
    <form action="{:url('doPay')}">
        <div>
            <label for="id">交易编号</label>
            <input type="text" name="id" id="id">
        </div>
        <button>提交</button>
    </form>

    <h3>分成</h3>
    <form action="{:url('royalty')}" method="post">
        <div>
            <label for="id">订单号</label>
            <input type="text" name="id" id="id" value="0">
        </div>
        <div>
            <label for="payer">付款人</label>
            <input type="text" name="payer" id="payer">
        </div>
        <div>
            <label for="payee">收款人</label>
            <input type="text" name="payee" id="payee">
        </div>
        <div>
            <label for="amount">金额</label>
            <input type="text" name="amount" id="amount">
        </div>
        <button>提交</button>
    </form>
</body>
</html>
